[paket]
tanim   = Python QT5 bağları
paketci = Cihan_Alkan
grup    = kütüphane
url     = https://riverbankcomputing.com/software/pyqt/intro
arsiv   = PyQt5-$surum

[gerek]
derleme = python python-dbus python-sip5 pyqt-builder python-packaging qt5-tools qt5-x11extras qt5-xmlpatterns qt5-webkit qt5-svg qt5-multimedia
calisma = qt5-declarative python-qt5-sip

[kaynak]
1 = https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$surum.tar.gz
2 = http://cruxbrianlfs.org/ports/pyqt5/qtwebkit.patch

[sha256]
#1       = d9a76b850246d08da9863189ecb98f6c2aa9b4d97a3e85e29330a264aed0f9a1

[derle]
betik   = cd PyQt5-$surum
betik   = patch -p1 -i /sources/qtwebkit.patch
betik   = sip-build --confirm-license --no-make --api-dir /usr/share/qt/qsci/api/python
betik   = cd build
betik   = make


[pakur]

betik   = cd PyQt5-$surum/build
betik   = make INSTALL_ROOT="$PKG" install -j1
betik   = rm -r $PKG/usr/lib/python*/site-packages/PyQt5/uic/port_v2
betik   = python -m compileall -d / $PKG/usr/lib
betik   = python -O -m compileall -d / $PKG/usr/lib
betik   = mkdir -p $PKG/usr/bin
betik   = mv $PKG/bin/* $PKG/usr/bin/ ; rm -rf $PKG/bin
